<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class VestibulandoModel extends CI_Model 
{   public function buscaProvas($instituicao = NULL)
    {   $this->db->where('instituicao', $instituicao);
        $this->db->order_by('ano', 'DESC');
       return $this->db->get('PROVA');    
    }    
}
